projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee228a
)
Ensure gc clip region valid in _gdk_gc_update_context
author
Alexander Larsson
<alexl@redhat.com>
Fri, 4 Sep 2009 13:59:22 +0000
(15:59 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Fri, 4 Sep 2009 14:06:51 +0000
(16:06 +0200)
There might be an old drawable clip on it, if so remove it.
gdk/gdkgc.c
patch
|
blob
|
history
diff --git
a/gdk/gdkgc.c
b/gdk/gdkgc.c
index e721ff5655a8a978f53df49cea470fdad71f56e5..44c2aa7aae62eb61cf39cbb677f6318a1c9ec421 100644
(file)
--- a/
gdk/gdkgc.c
+++ b/
gdk/gdkgc.c
@@
-1396,6
+1396,8
@@
_gdk_gc_update_context (GdkGC *gc,
priv = GDK_GC_GET_PRIVATE (gc);
+ _gdk_gc_remove_drawable_clip (gc);
+
fill = priv->fill;
if (override_stipple && fill != GDK_OPAQUE_STIPPLED)
fill = GDK_STIPPLED;